package com.ant.backstage.dao;

import com.ant.backstage.facade.dto.GoodsActivityDTO;
import com.ant.backstage.facade.model.GoodsActivity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* Created by Mybatis Generator 2022/02/14
*/
public interface GoodsActivityMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(GoodsActivity record);

    GoodsActivity selectByPrimaryKey(Integer id);

    List<GoodsActivity> selectAll();

    int updateByPrimaryKey(GoodsActivity record);

    List<GoodsActivity> selectByType(@Param("activityDTO") GoodsActivityDTO activityDTO);

}